package com.example.goodpet.bean;

import java.util.Date;

public class Follow {
    private long id;
    /**
     * 关注人
     */
    private long userId;
    /**
     * 被关注人
     */
    private long followId;
    private Date date;

    public Follow(long id, long userId, long followId, Date date) {
        this.id = id;
        this.userId = userId;
        this.followId = followId;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Follow{" +
                "id=" + id +
                ", userId=" + userId +
                ", followId=" + followId +
                ", date=" + date +
                '}';
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getFollowId() {
        return followId;
    }

    public void setFollowId(long followId) {
        this.followId = followId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
}
